<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>
  (async () => {
    // axios.defaults.baseURL = "http://localhost:4000";
    const res = await axios.get("/api/users", {
      headers: { "X-Token": "jilei" }
    });
    console.log("data", res.data);
    document.writeln(`Response : ${JSON.stringify(res.data)}`);
  })();
  /* const img = new Image();
  img.src = "/api/users?abc=123"; */
</script>
